package com.chinasofti.io;

import java.io.FileReader;
import java.io.IOException;

public class Demo08 {
    public static void main(String[] args) throws IOException {
        FileReader fr = new FileReader("java419\\a.txt");
        //int read()
        int ch;
        while ( (ch=fr.read()) != -1){
            System.out.println((char)ch);
        }
        char [] chs = new  char[1024];
                fr.close();
    }
}
